<%@ page language="java" contentType="text/html; charset=utf-8"
         pageEncoding="utf-8"%>

<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>DeathGhost-产品分类列表</title>
    <meta name="keywords" content="DeathGhost,DeathGhost.cn,web前端设,移动WebApp开发" />
    <meta name="description" content="DeathGhost.cn::H5 WEB前端设计开发!" />
    <meta name="author" content="DeathGhost"/>
    <link href="<%=basePath%>front/style/style.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="<%=basePath%>front/js/public.js"></script>
    <script type="text/javascript" src="<%=basePath%>front/js/jquery.js"></script>
    <script type="text/javascript" src="<%=basePath%>front/js/jqpublic.js"></script>
    <!--
    Author: DeathGhost
    Author URI: http://www.deathghost.cn
    -->
</head>
<body>

    <jsp:include page="top.jsp"></jsp:include>
<!--Start content-->
<section class="Psection">
    <section class="fslist_navtree">
        <ul class="select">
            <li class="select-list">
                <dl id="select1">
                    <dt>分类：</dt>
                    <dd class="select-all selected"><a href="javascript:">全部</a></dd>
                    <c:forEach items="${types}" var="type">
                        <dd><a href="javascript:">${type.typeName}</a></dd>
                    </c:forEach>
                </dl>
            </li>
        </ul>
    </section>
    <section class="CateL Overflow">
        <ul>
            <c:forEach items="${pageInfo.list}" var="menu">
                <li>
                    <a href="detailsp.html" target="_blank" title="酸辣土豆丝">
                        <img src="<%=basePath%>${menu.img}">
                        <p class="Overflow">${menu.title}</p>
                    </a>
                </li>
            </c:forEach>


        </ul>
        <div class="TurnPage">
            <a href="<%=basePath%>main"><span class="PNumber">首页</span></a>
            <a href="<%=basePath%>main?pageNum=${pageInfo.hasPreviousPage==true?pageInfo.prePage:1}"><span class="PNumber">上一页</span></a>
            <a href="<%=basePath%>main?pageNum=${pageInfo.hasNextPage==true?pageInfo.nextPage:pageInfo.pages}"><span class="PNumber">下一页</span></a>
            <a href="<%=basePath%>main?pageNum=${pageInfo.pages}"><span class="PNumber">尾页</span></a>


        </div>
    </section>
    <aside class="CateR">
        <!--广告位或推荐位-->
        <div>
            <a href="#" target="_blank"><img src="upload/ad.jpg"></a>
        </div>
        <div class="Hot_shop">
            <span class="Hshoptile Font14 FontW Block">热门商家</span>
            <ul>
                <li>
                    <a href="shop.html" target="_blank" title="好味来快餐连锁店"><img src="upload/cc.jpg"></a>
                    <p class="Font14 FontW Overflow Lineheight35"><a href="shop.html" target="_blank" title="好味来快餐连锁店">好味来快餐连锁店</a></p>
                    <p class="Lineheight35 Overflow"><span title="通过动态控制地址的字符数量...">地址：西安市莲湖区土门新市场斜对面...</span></p>
                </li>
                <li>
                    <a href="shop.html" target="_blank" title="好味来快餐连锁店"><img src="upload/dd.jpg"></a>
                    <p class="Font14 FontW Overflow Lineheight35"><a href="shop.html" target="_blank" title="好味来快餐连锁店">好味来快餐连锁店</a></p>
                    <p class="Lineheight35 Overflow"><span title="通过动态控制地址的字符数量...">地址：西安市莲湖区土门新市场斜对面...</span></p>
                </li>
                <li>
                    <a href="shop.html" target="_blank" title="好味来快餐连锁店"><img src="upload/ee.jpg"></a>
                    <p class="Font14 FontW Overflow Lineheight35"><a href="shop.html" target="_blank" title="好味来快餐连锁店">好味来快餐连锁店</a></p>
                    <p class="Lineheight35 Overflow"><span title="通过动态控制地址的字符数量...">地址：西安市莲湖区土门新市场斜对面...</span></p>
                </li>
                <li>
                    <a href="shop.html" target="_blank" title="好味来快餐连锁店"><img src="upload/cc.jpg"></a>
                    <p class="Font14 FontW Overflow Lineheight35"><a href="shop.html" target="_blank" title="好味来快餐连锁店">好味来快餐连锁店</a></p>
                    <p class="Lineheight35 Overflow"><span title="通过动态控制地址的字符数量...">地址：西安市莲湖区土门新市场斜对面...</span></p>
                </li>
            </ul>
        </div>
    </aside>
</section>
<!--End content-->
<div class="F-link">
    <span>友情链接：</span>
    <a href="http://www.deathghost.cn" target="_blank" title="DeathGhost">DeathGhost</a>
    <a href="http://www.17sucai.com/pins/15966.html" target="_blank" title="免费后台管理模板">绿色清爽版通用型后台管理模板免费下载</a>
    <a href="http://www.17sucai.com/pins/17567.html" target="_blank" title="果蔬菜类模板源码">HTML5果蔬菜类模板源码</a>
    <a href="http://www.17sucai.com/pins/14931.html" target="_blank" title="黑色的cms商城网站后台管理模板">黑色的cms商城网站后台管理模板</a>
</div>
<jsp:include page="footer.jsp"></jsp:include>
</body>
</html>
